#!/bin/bash
curl_result=$(curl  -sk 'https://127.0.0.1:{{ kube_port.apiserver }}/healthz' 2>/dev/null)
if [ "$curl_result" != "ok" ]
then
    exit 1
else
    exit 0
fi
